.not-select {
    -moz-user-select: none;
    /*火狐*/
    -webkit-user-select: none;
  
    /*webkit浏览器*/
    -ms-user-select: none;
    -ms-overflow-style: none;
    /*IE10*/
    -khtml-user-select: none;
    /*早期浏览器*/
    user-select: none;
  }

.comment-box{
    margin-top: 15px;
    .publish-box{
        background-color: #fff;
        border: #fff;
        margin: 0 auto 20px;
        padding: 16px;
        box-shadow: 0 4px 8px 6px rgba(7, 17, 21, 0.06);
        border-radius: 8px;
        display: flex;
        justify-content: center;
        .left{
            width: 40px;
            margin-right: 20px;
        }
        .icon{
            width: 40px;
            height: 40px;
            overflow: hidden;
            border: 1px solid #999;
            border-radius: 50%;
            img{
                width: 100%;
                height: 100%;
            }
        }
        .username{
            text-align: center;
        }
        .right{
            width: calc(100% - 60px);
            display: block;
            .right-top{
                height: 120px;
            }
            
            .textArea{
                height: 100%;
            }
            .right-bottom{
                margin-top: 10px;
                text-align: right;
                .changebtn{
                    display: inline-block;
                    padding-left: 5px;
                    font-size: 12px;
                    color: #999;
                    cursor: pointer;
                }
            }
        }
    }

    .empty{
        background-color: #fff;
        border: #fff;
        margin: 0 auto 20px;
        padding: 40px;
        box-shadow: 0 4px 8px 6px rgba(7, 17, 21, 0.06);
        border-radius: 8px;
        display: flex;
        justify-content: center;
        .not-select();
    }

    .comment-list{
        background-color: #fff;
        border: #fff;
        margin: 0 auto 20px;
        padding: 16px;
        box-shadow: 0 4px 8px 6px rgba(7, 17, 21, 0.06);
        border-radius: 8px;
        max-height: 600px;
        overflow-y: scroll;
        -ms-overflow-style: none;
        /* IE 10+ */
        scrollbar-width: none;
        box-sizing: border-box;
        box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.4);

        /* Firefox */
        &::-webkit-scrollbar {
        /* Chrome Safari */
        display: none;
        }
        .title{
            font-size: 16px;
            padding-bottom: 10px;
        }
        .item-box{
            border-bottom: 1px solid #aaa;
            &:last-child{
                border-bottom: 0;
            }
        }
        .item{
            display: flex;
            padding: 10px 0;
            align-items: center;
            
            .left{
                width: 30px;
                margin-right: 30px;
                text-align: center;
            }
            .icon{
                width: 30px;
                height: 30px;
                overflow: hidden;
                border: 1px solid #999;
                border-radius: 50%;
                img{
                    width: 100%;
                    height: 100%;
                }
            }
            .username{
                text-align: center;
            }
            .right{
                width: calc(100% - 60px);
                .times{
                    text-align: right;
                    font-size: 12px;
                    color: #999;
                }
                .reply{
                    display: inline-block;
                    padding-left: 10px;
                    cursor: pointer;
                    user-select: none;
                }
                .right-top{
                    display: flex;
                    p{
                        margin-bottom: 0;
                    }
                }
            }
        }
        .item-item{
            background-color: rgba(155, 155, 155, 0.06);
            margin-left: 40px;
            padding: 10px;
        }
    }
}

@media (max-width: 1200px){
    .comment-box{
        .right{
            display: block;
        }
    }
}